package com.itheima.io;

import java.io.*;

/**
 * @author Anomaly
 * @date 2023/2/8 22:00
 */
public class FileInputStreamDemo {
    public static void main(String[] args) throws IOException {
        InputStream is = new FileInputStream("file-io/src/test.txt");
        System.out.println(is.read());
        System.out.println(is.read());
        System.out.println(is.read());
        System.out.println(is.read());
        System.out.println(is.read());
        System.out.println(is.read());
        System.out.println(is.read());
    }
}
